package com.woniuxy.oldmanapi.cvo;

import com.woniuxy.oldmanapi.entity.Medicine;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class WarehouseDetailVo {

    private Integer id;
    private Medicine medicine;
    private BigDecimal sumPrice;
    private  BigDecimal price;

    @Column(name = "warehouse_id")
    private Integer warehouseId;

    @Column(name = "medicine_id")
    private Integer medicineId;

    private Integer count;

    private String desc;
    @Column(name = "createTime")
    private Date createtime;

}
